import { handleGoogle } from "./google";
import { handleWechat } from "./wechat";
import { handleWeixiaobao } from "./weixiaobao";
import { handleXiaoniufanyi } from "./xiaoniufanyi";
import { handleYuque } from "./yuque";
import { handleEditor135 } from "./editor135";
import { handleBj96Weixin } from "./bj96weixin";
import { handleEditNewrankCn } from "./editNewrankCn";
import { handleXmyeditor } from "./xmyeditor";
import { handleGitee } from "./gitee";
import { handleGithub } from "./github";

export default {
  google: {
    handler: (cb) => {
      handleGoogle((doc) => cb(doc));
    },
  },
  wechat: {
    handler: (cb) => {
      handleWechat((doc) => cb(doc));
    },
  },
  weixiaobao: {
    handler: (cb) => {
      handleWeixiaobao((doc) => cb(doc));
    },
  },
  xiaoniufanyi: {
    handler: (cb) => {
      handleXiaoniufanyi((doc) => cb(doc));
    },
  },
  yuque: {
    handler: (cb) => handleYuque((doc) => cb(doc)),
  },
  editor135: {
    handler: (cb) => handleEditor135((doc) => cb(doc)),
  },
  bj96weixin: {
    handler: (cb) => {
      handleBj96Weixin((doc) => cb(doc));
    },
  },
  editnewrankcn: {
    handler: (cb) => {
      handleEditNewrankCn((doc) => cb(doc));
    },
  },
  xmyeditor: {
    handler: (cb) => {
      handleXmyeditor((doc) => cb(doc));
    },
  },
  gitee: {
    handler: (cb) => {
      handleGitee((doc) => cb(doc));
    },
  },
  github: {
    handler: (cb) => {
      handleGithub((doc) => cb(doc));
    },
  },
};
